Method of updating into service category table in device and device for the same

ABSTRACT

A method for acquiring a service category table required for finding a service includes acquiring information on a latest service category table by identifying version information of a service category table from a broadcasting signal received from adjacent devices during, a process of searching for a device supporting a service desired among devices, and acquiring a service category table of a latest version by establishing a session connection with a device supporting the service category table of the latest version based on the information. By acquiring, the information on the latest service category table, a session connection with only the device providing the desired service is established so that an optimized session connection establishing process can be performed and a total network capacity can be efficiently managed. Also, the latest service category table can be acquired from the session-connected device, and thus a new service can be easily identified.

CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

The present application is related to and claims priority under 35U.S.C. §119(a) to Korean Application Serial No. 10-2012-0013922, whichwas filed in the Korean Intellectual Property Office on Feb. 10, 2012,the entire content of which is hereby incorporated by reference.

TECHNICAL FIELD

The present application relates generally to a service search device anda method thereof, and more particularly, to a method of acquiring aservice category table required for efficiently searching for a servicein a system supporting a Device to Device (D2D) direct communication anda device for the same.

BACKGROUND

Devices within a near field communication network should be able tosearch for each other's ability information. In order to search for thedevices and supported service ability information, search protocols in alayer equal to or higher than a third layer of OSI seven layers havebeen used in the prior art. As an example, a service search process inWi-Fi, BLUETOOTH or the like, corresponding to a near fieldcommunication method will be described below.

In order to search for a service according to a protocol in Wi-Fi orBLUETOOTH, two or more devices should be first connected with each otherand configure a network. For example, the network can be configured bydirectly connecting a smart phone and another smart phone, a notebookand a mouse, a tablet PC and a printer or the like, or can be configuredby connecting one device with one or more devices adjacent to the onedevice, such as a digital camera, an MP3 player, a game machine, a TVand the like.

Accordingly, when a user desires to search for a service by using adevice which has not participated in the network, the device shouldparticipate in the already configured network or configure a new networkwith other devices. To this end, the user device should necessarilyperform a series of processes of searching for already configurednetworks and participating in the configured network. In addition,considering the case of Wi-Fi Basic Service Set (BSS), it is necessaryfor the user device to participate in the network through a connectionwith an Access Point (AP).

SUMMARY OF THE INVENTION

Since the device may acquire information on devices participating, in anetwork adjacent to the device on the desired network after configuringa new network or participating, in an already configured network, thereis no method of detecting a service supported by the device beforeentering the network. At this time, the service supported by the devicemay be known through referencing a service category table which thedevice already possesses from previous communication with a counterpartdevice. Further, when the device acquires a latest service categorytable from the counterpart device or through another network, the devicecan identify various new services or easily find a device providing thedesired service among neighboring devices.

Accordingly, more easily identifying services of counterpart devicesbefore configuring the network and securing a service list (for example,through the service category table) operating on a network may become avery important element for a service distribution of devices using anycommunication network.

Furthermore, as various applications or services are created in realtime, the device is required to rapidly update the service categorytable belonging to the device to support various services.

Accordingly, to address the above-discussed deficiencies of the priorart, it is a primary object to a method of acquiring a service categorytable required for efficiently finding a service and a device therefor.

Also, embodiments of the present disclosure provide a method ofacquiring a latest service category table and a device therefor.

In certain embodiments of the present disclosure, a method of updatinginto a latest service category table in a device is provided. The methodincludes receiving a broadcasting signal (the device corresponding to afirst device), the broadcasting signal containing, version informationof a service category table for detecting a supportable target servicebased on Device to Device (D2D) direct communication from second deviceslocated adjacent to the first device; analyzing the version informationof the service category table contained in the broadcasting signal and aprovision intention of the service category table; and determining acounterpart device having a service category table of a higher versionthan that of the first device from the second devices having theprovision intention of the service category table.

In accordance with certain embodiments of the present disclosure, adevice for updating into a latest service category table, the devicecorresponding to a first device is provided. The device includes aconnector that receives a broadcasting signal, (the device correspondingto a first device) the broadcasting signal containing versioninformation of a service category table for detecting a supportabletarget service based on Device to Device (D2D) direct communication fromsecond devices located adjacent to the first device; and a controllerfor analyzing the version information of the service category tablecontained in the broadcasting signal and a provision intention of theservice category table, and determining a counterpart device having aservice category table of a higher version than that of the first devicefrom the second devices having the provision intention of the servicecategory table.

Before undertaking the DETAILED DESCRIPTION below, it may beadvantageous to set forth definitions of certain words and phrases usedthroughout this patent document: the terms “include” and “comprise,” aswell as derivatives thereof, mean inclusion without limitation; the term“or,” is inclusive, meaning and/or; the phrases “associated with” and“associated therewith,” as well as derivatives thereof, may mean toinclude, be included within, interconnect with, contain, be containedwithin, connect to or with, couple to or with, be communicable with,cooperate with, interleave, juxtapose, be proximate to, be bound to orwith, have, have a property of, or the like; and the term “controller”means any device, system or part thereof that controls at least oneoperation, such a device may be implemented in hardware, firmware orsoftware, or some combination of at least two of the same. It should benoted that the functionality associated with any particular controllermay be centralized or distributed, whether locally or remotely.Definitions for certain words and phrases are provided throughout thispatent document, those of ordinary skill in the art should understandthat in many, if not most instances, such definitions apply to prior, aswell as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and itsadvantages, reference is now made to the following description taken inconjunction with the accompanying drawings, in which like referencenumerals represent like parts:

FIG. 1 illustrates an example of a configuration of a D2D networkaccording to an embodiment of the present disclosure;

FIG. 2 is a flowchart illustrating operations between devices to acquirea service category table according to an embodiment of the presentdisclosure;

FIG. 3 is an internal block diagram of a device according to anembodiment of the present disclosure;

FIG. 4 illustrates an example of service information contained in abroadcasting signal according to an embodiment of the presentdisclosure;

FIG. 5 is a flowchart illustrating operations in a device to acquire aservice category table according to an embodiment of the presentdisclosure;

FIG. 6 is a flowchart for describing a process of updating a servicecategory table according to an embodiment of the present disclosure; and

FIG. 7 is a flowchart for describing a process of updating a servicecategory table according another embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

FIGS. 1 through 7, discussed below, and the various embodiments used todescribe the principles of the present disclosure in this patentdocument are by way of illustration only and should not be construed inany way to limit the scope of the disclosure. Those skilled in the artwill understand that the principles of the present disclosure may beimplemented in any suitably arranged wireless communications device.Hereinafter, various embodiments of the present invention will bedescribed with reference to the accompanying drawings. The same elementswill be designated by the same reference numerals although they areshown in different drawings. Further, in the following description ofthe present invention, a detailed description of known functions andconfigurations incorporated herein will be omitted when it may make thesubject matter of the present invention rather unclear.

The detailed description below will provide representative embodimentsof the present disclosure to solve the technical problems. Further, forthe convenience of descriptions of the present disclosure, names ofentities defined in a Device to Device (hereinafter, referred to as D2D)direct communication service will be used, the standard and names do notlimit the scope of the present disclosure and can be applied to a systemhaving a similar technical background.

Embodiments of the present disclosure provide a method of acquiring aservice category table required for efficiently finding a service. Tothis end, the present disclosure includes steps of identifying versioninformation of a service category table from a broadcasting signalreceived from neighboring devices during a process of searching for adevice supporting a desired service between devices to acquireinformation on the latest service category table and establishing asession connection with a device capable of providing the latest versionservice category table based on the acquired information to acquire thelatest version service category table. As described above, by acquiringthe information on the latest service category table, the sessionconnection with only the device providing the desired service isestablished, so that an optimized session connection establishingprocedure can be performed and also total network capacity can beefficiently managed. Further, since the latest service category tablecan be acquired from the session-connected device, it is easy toidentify a new service or the like.

Hereinafter, an operation of the device implementing the functiondescribed above will be discussed with reference to FIG. 1.

FIG. 1 illustrates a D2D network according to an embodiment of thepresent disclosure. Referring to FIG. 1, a first device to a fourthdevice 100, 110, 120, and 130 individually provide and use a service A,a service B, a service C, and a service D within a D2D available servicearea.

Each of the first device 100 to the fourth device 130 transmitsinformation on the service, which is being used, with reference to theservice category table belonging to each of the first device 100 to thefourth device 130 during a service search process. The service categorytable can vary depending on the device, so that information on theservice can contain version information of the service category table.

For example, it is assumed that the second device 110 uses the servicesA and B, the third device 120 uses the services B and D, and the fourthdevice 130 uses the service C. In this case, when the first device 100desires to use the service A, the first device 100 needs to be connectedwith one of the second device 110 and the third device 120. At thistime, when a version of the service category table of the first device100 is 1.1, a version of the service category table of the second device110 is 1.2, a version of the service category table of the third device120 is 2.0, and a version of the service category table of the fourthdevice 130 is 2.0, the first device 100 searches for the second device110 and the third device 120 supporting the service A, which the firstdevice 100 desires to use; but the first device 100 only has to beconnected to the third device 120 having a higher version. Accordingly,the first device 100 does not need to configure the network with theremaining second and fourth devices 110 and 130.

In certain embodiments, the first device 100 knows version informationof the service category table during the service search process.Accordingly, when the first device 100 has a lower version of theservice category table, the first device 100 can acquire the latestservice category table from a D2D service manager 140 through anexternal network.

Hereinafter, operations between the devices to acquire the servicecategory table according to an embodiment of the present disclosure willbe described with reference to FIG. 2. FIG. 2 illustrates a case wherethe first device 100 searches for the device supporting the service Aamong a plurality of devices located within a D2D available service areawhen the first device 100 desires to use the service A as a targetservice. Here, the size of the D2D available service area can have amaximum of several Km radius from the first device 100.

Referring to FIG. 2, when the first device 100 starts driving the D2Dservice in step 200, the first device 100 receives a broadcastingsignal, in steps 205 to 215, containing service information fromneighboring devices, such as one or more of, the second device 110, thethird device 120, and the fourth device 130. Here, according to anembodiment of the present disclosure, the broadcasting signal can bebeacon signal in the system supporting the D2D service. Further, asdescribed above, the broadcasting signal can be received by a user'srequest for starting the D2D service, but the broadcasting signal can bereceived when the user enters a particular service area where the D2Dservice is available, for example, a building supporting the D2Dservice. In addition, the broadcasting signal can be received as thefirst device 100 is turned on or an application for the service A isexecuted by the user.

The broadcasting signal can be received through one of a method in whichneighboring devices simultaneously distribute beacon signals having apredetermined period, a method in which each of the neighboring devicesperiodically distributes the beacon signal according to a scheduledcycle of the network, and a method in which each of the neighboringdevices distributes the beacon signal based on a competition during aparticular section allocated by the network.

The broadcasting signal contains device identification information, aservice name which is being used, version information of the servicecategory table, and intention information.

Here, the device identification (ID) information indicates temporary IDinformation for identifying devices, the service name which is beingused indicates a service that is currently being used in the servicecategory table belonging to itself, and the intention informationindicates whether the device has an intention to provide the servicecategory table belonging to itself to another device.

For example, when the second device 100 supports the services A, B, andC, as illustrated in FIG. 2, and currently uses the service A among thelisted services, available service information of the broadcastingsignal contains the service A. When currently available services are theservices A and B, the second device 110 transmits the broadcastingsignals containing information on the services A and B.

The first device 100 determines whether to update the service categorytable by using the version information of the service category table andthe intention information among, the service information contained inthe broadcasting signals received in steps 205 to 215. Referring to FIG.2, the service information from the second device 110 indicates that aversion of the service category table is 1.2 and there is an intentionto provide the service category table, the service information from thethird device 120 indicates that a version of the service category tableis 2.0 and there is an intention to provide the service category table,and the service information from the fourth device 130 indicates that aversion of the service category table is 2.0 and there is no intentionto provide the service category table.

In this case, the first device 100 identifies version information of theservice category table and determines whether there is an intention toprovide the service category table in step 220. As described above, whenthe first device 100 executes the D2D service, the first device 100acquire information on the service category table from neighboringdevices. As illustrated in FIG. 2, the first device 100 recognizes thatthere is a service category table having a higher version than theversion 1.1 of the service category table belonging to the first device100 based on version information of the service category tables providedfrom the third device 120 and the fourth device 130. Accordingly, thefirst device 100 recognizes that the service category table thereof isrequired to be updated. Further, the first device 100 can determinewhich device can transmit detailed information of the service categorytable based on the intention information.

Therefore, the first device 100 determines that, among the third device120 and the fourth device 130 having a higher version than that of thefirst device 100, the third device 120 includes the provision intentionas the device capable of providing the latest version in step 225.Thereafter, the first device 100 acquires the actual service categorytable after establishing a session connection with the determineddevice, or acquires the service category table through an externalnetwork.

Hereinafter, operations and components of the first device 100 will bedescribed with reference to FIG. 3.

Referring to FIG. 3, the first device 100 includes a user interface 310,a D2D connector 320, a service information storage unit 330, and acontroller 340. Here, the first device 100 corresponds to a devicesupporting the D2D service, such as a smart phone, a mobile phone, adigital camera, an MP3 player, a game machine, a TV, a display device, ahead unit for a vehicle or the like.

First, the user interface 310 can be implemented in a touch screen type,and serves to display information input by the user or informationprovided to the user as well as the various menus of the device.Further, the user interface 310 outputs a D2D service related serviceapplication list, and outputs a screen according to an execution of aservice application selected by the user. In addition, when a pluralityof counterpart devices using the same service application as the serviceapplication selected by the user are found, the user can select adesired device through the user interface 310.

The D2D connector 320 serves the role of searching for a device thatsupports a desired service from neighboring devices.

The service information storage unit 330 stores information on a servicesupported by itself, and stores the service category table, such asTable 1 or 2, according to a predetermined schema. When serviceinformation is acquired from neighboring devices, the serviceinformation storage unit 330 also stores the acquired serviceinformation.

Here, referring to Tables 1 and 2, it can be identified that a serviceclassification system defined in an embodiment of the present disclosureis hierarchically implemented. As shown in Tables 1 and 2, servicesstored in the first device 100 are hierarchically classified by thedefined classification system.

First, the service categories classified for each service type are shownin Table 1.

TABLE 1 Level 1 Level 2 Level 3 Communication Messaging SMS MMS IM GroupMS E-mail Call VoIP Call Video Call Group Call Information TrafficService Map Navigation Local info. service Local Event Local weatherNews Notice Entertainment Data service File Transfer MultimediaStreaming Game Real-time game Business Shopping Shopping AdvertisementAdvertisement Coupon Coupon Banking Banking Emergency EmergencyEmergency

As shown in Table 1 above, the service types can be classified in theunit of levels, that is, hierarchically in an order from a higher levelto a lower level. The service category table of Table 1 is only anexample, but a configuration of the service category table can varydepending on the device. That is, each device has an inherent servicecategory table, and such a service category contains services in anactivated state where a service is being executed in a background orcurrently used and services in an inactivated state where a service isinstalled but not executed.

Referring to Table 1, level 1 corresponds to a level indicating aservice type, such as communication, information, entertainment,business, emergency or the like. Level 2 corresponds to a detailed typeof level 1, which indicates a service type, such as messaging, call orthe like when the service type is communication. Level 3 corresponds toa detailed type of level 2, which indicates service names included in amessaging service when the service type of level 1 is communication andthe detailed type of level 2 is messaging.

Further, the services classified based on a portal are as shown in Table2.

TABLE 2 Level 1 Level 2 NAVER Messaging Call Traffic Service Local info.Service Data Sharing Game Shopping Advertisement Coupon BankingEmergency DAUM SAMSUNG APPLE GOOGLE SKT KT U+

The services can be classified in various ways as well as the abovedescribed method. The services can be classified into AV streams, suchas a video stream and an audio stream, classified based on a socialnetwork, based on messaging and a position, and classified based on aservice provider, such as NAVER, SAMSUNG, GOOGLE, or the like.

The service information storage unit 330 stores version information ofthe service category table which the service information storage unit330 currently has among the service information. The service categorytable has a table form categorizing as being included in level 1 tolevel 3 as shown in Tables 1 and 2, and it is preferable that eachdevice has the service category table. Further, such a table can bedistributed by a provider providing the D2D service, and can becontinuously managed and updated of course.

In addition, the service information storage unit 330 stores intentioninformation of the service information, which indicates an intentionwhether to provide the service category table, such as Table 1 or 2.

The controller 340 controls each of the components according to theservice search process of finding a device which can use a targetservice from neighboring devices. The controller 340 receives thebroadcasting signal from neighboring devices in order to search for thedevice which can use the target service, and identifies a version of theservice category table based on the service information contained in thereceived broadcasting signal. Accordingly, the controller 340 determineswhether to update its own service category table. In this case, when thedevice using the target service is found, the controller 340 firstestablishes a session connection with the found device, and then checksa mutual security state to receive the service category table.Subsequently, when acquiring the service category table, the controller340 determines whether a separate program is required to execute thetarget service. When there is no program required for executing thetarget service, the controller 340 makes a request for the program tothe found device and receives the program.

Meanwhile, a structure of the service information contained in thebroadcasting signal is illustrated in FIG. 4.

Referring to FIG. 4, a temporary ID field 400 includes terminalidentification information temporarily used in a local area, a servicefield 405 which is being used includes a service name which is currentlybeing used, a version information field 410 includes a version of theservice category table thereof, an intention information field 415includes an intention whether to provide its own service category table,a level field 420 includes information on a start level of the servicecategory table, and a counter field 425 includes scheduling informationrequired for determining, the level of the service category tableincluding a currently used service name. In FIG. 4, a reserved field 430corresponds to an expandable field.

Operations of the first device 100 will be described with reference toFIG. 5.

Referring to FIG. 5, when the first device 100 receives a broadcastingsignal from neighboring devices in step 500, the first device 100analyzes service information contained in the broadcasting signal instep 505. Based on a result of the analysis, the first device 100 candetermine whether there is a device having a higher version than that ofthe service category table belonging to the first device 100.Accordingly, the first device 100 determines a device having the latestversion with reference to version information and intention informationacquired during a service search process in step 510.

When it is determined that an update is needed and then the update isselected in step 515, the first device 100 determines whether an updatescheme through a D2D network or an external network is selected in step520. When the D2D network scheme is selected, the first device 100 isconnected with the determined device and then updates the servicecategory table in step 525. Alternatively, when the external networkscheme is selected, the first device 100 is connected with the D2Dservice manager 140 and then updates the service category table in step530. Then, the first device 100 determines whether the update has beencompleted in step 535. When the update is completed, the first device100 terminates an operation for updating the service category table.

Each of the update processes according to the D2D network scheme and theexternal network scheme will be separately described with reference toFIGS. 6 and 7. FIG. 6 illustrates the update process according to theD2D network scheme, and FIG. 7 illustrates the update process accordingto the external network scheme.

Referring first to FIG. 6, when the first device 100 determines toacquire the service category table from the third device 120, the firstdevice 100 establishes a session connection with the third device 120having the latest version in step 600, and completes a link connectionin step 605. Such a determination is achieved by identifying versioninformation of the service category table, an intention whether toprovide the service category table or the like based on the serviceinformation acquired during the service search process. According to thelink connection through which the mutual security is maintained, thefirst device 100 makes a request for the service category table in step610. Then, the first device 100 receives the service category tabletogether with a response to the request from the third device 120 instep 615.

At this time, when a new service is detected with reference to theacquired service category table or a program required for the targetservice desired to be used is additionally required, the first device100 makes a request for an install program in step 620; and thenreceives the install program together with a response to the request instep 625.

Meanwhile, referring to FIG. 7, when the first device 100 recognizes thenecessity of updating the service category table during the servicesearch process, the first device 100 can determine that there is theservice category table having the latest version. Accordingly, the firstdevice 100 knows that there is the higher version than that of theservice category table belonging to itself, but does not know whetherthe version is the latest version. Therefore, the first device 100transmits a request for identifying the latest version to the D2Dservice manager 140 to identify the latest version in step 700. Inresponse to the request, the D2D service manager 140 informs the firstdevice 100 whether there is the latest version in step 705.

When there is the latest version, the first device 100 makes a requestfor the service category table to the D2D service manager 140 in step710, and receives the service category table having the latest versionin step 715. Hereinafter, since steps 720 to 725 are the same as steps620 to 625 of FIG. 6, detailed descriptions thereof will be omitted.

According, to embodiments of the present disclosure, when a servicewhich can be used between devices is searched for, information on theservice category table can be acquired, so that an application requiredfor performing the latest service can be rapidly updated and a deviceuser can easily identify the latest service.

According to embodiments of the present disclosure, it is possible toacquire the service category table required for identifying a servicesupported by the device in a system supporting Device to Device (D2D)direct communication without a session connection with all neighboringdevices. Also, there is an effect of effectively supporting variousservices since the service category table can be updated in real timewhen various applications or services are created.

It can be appreciated that the embodiments of the present disclosure canbe implemented in software, hardware, or a combination thereof. Any suchsoftware can be stored, for example, in a volatile or non-volatilestorage device such as a ROM, a memory such as a RAM, a memory chip, amemory device, or a memory IC, or a recordable optical or magneticmedium such as a CD, a DVD, a magnetic disk, or a magnetic tape,regardless of its ability to be erased or its ability to be re-recorded.It can be also appreciated that the memory included in the mobileterminal is one example of machine-readable devices suitable for storinga program including instructions that are executed by a processor deviceto thereby implement embodiments of the present invention. Therefore,embodiments of the present invention provide a program including codesfor implementing a system or method claimed in any claim of theaccompanying claims and a machine-readable device for storing such aprogram. Further, this program can be electronically conveyed throughany medium such as a communication signal transferred via a wired orwireless connection, and embodiments of the present inventionappropriately include equivalents thereto.

Further, the device can receive the program from a program providingapparatus connected to the device through a wire or wirelessly and storethe program. The program providing apparatus can include a programincluding instructions through which the device implements a presetcontent protecting method, a memory for storing information or the likerequired for the content protecting method, a communication unit forperforming wired or wireless communication with the device, and acontroller for transmitting the corresponding program to the deviceaccording to a request of the device or automatically.

Although the present disclosure has been described with an exemplaryembodiment, various changes and modifications may be suggested to oneskilled in the art. It is intended that the present disclosure encompasssuch changes and modifications as fall within the scope of the appendedclaims.

What is claimed is:
 1. A method of updating into a latest servicecategory table in a device, the method comprising: receiving abroadcasting signal, by a first device, the broadcasting signalcontaining version information of a service category table for detectinga supportable target service based on Device to Device (D2D) directcommunication from a second devices located adjacent to the firstdevice; analyzing the version information of the service category tablecontained in the broadcast ing signal and a provision intention of theservice category table; determining a counterpart device having aservice category table of a higher version than that of the first devicefrom the second devices having the provision intention of the servicecategory table; establishing a session connection with the determinedcounterpart device; and performing the target service with thecounterpart device.
 2. The method of claim 1, further comprising:acquiring the service category table from the counterpart device when itis determined that there is the counterpart device.
 3. The method ofclaim 1, further comprising: transmitting a request for identifying alatest version of the service category table belonging to the firstdevice to an external network; and when a response for informing thatthere is the latest version of the service category table is received,acquiring the service category table of the latest version from theexternal network.
 4. The method of claim 1, wherein the broadcastingsignal contains service information including at least one of temporaryidentification information of the second devices, a service name whichis currently being used, version information of the service categorytable, and a provision intention of the service category table.
 5. Themethod of claim 4, wherein determining the counterpart device comprises:searching for the counterpart device from second devices using thetarget service based on the service information.
 6. The method of claim1, wherein the service category table stores services that are supportedby the adjacent second devices and classifies the services according toeach service type.
 7. The method of claim 6, wherein the service type ishierarchically classified in an order from a higher level to a lowerlevel included in the higher level.
 8. A device for updating, into aservice category table, the device corresponding to a first device, thedevice comprising: a connector configured to receive a broadcastingsignal, the broadcasting signal containing version information of aservice category table for detecting a supportable target service basedon Device to Device (D2D) direct communication from second deviceslocated adjacent to the first device; and a controller configured toanalyze the version information of the service category table containedin the broadcasting signal and a provision intention of the servicecategory table, configured to determine a counterpart device having aservice category table of a higher version than that of the first devicefrom the second devices having the provision intention of the servicecategory table, configured to establish a session connection with thedetermined counterpart device, and configured to perform the targetservice with the counterpart device.
 9. The device of claim 8, whereinthe controller is configured to acquire the service category table fromthe counterpart device when it is determined that there is thecounterpart device.
 10. The device of claim 8, wherein the controller isconfigured to transmit a request for identifying a latest version of theservice category table of the first device to an external network, andwhen receiving a response for informing that there is the latest versionof the service category table, the controller is configured to acquirethe service category table of the latest version from the externalnetwork.
 11. The device of claim 8, wherein the broadcasting signalcontains service information including at least one of temporaryidentification information of the second devices, a service name whichis currently being used, version information of the service categorytable, and the provision intention of the service category table. 12.The device of claim 11, wherein the controller is configured to searchfor the counterpart device from second devices using the target servicebased on the service information.
 13. The device of claim 8, furthercomprising a service information storage unit configured to store theservice category table that classifies services for each service typesupported by the adjacent second devices, wherein the service type ishierarchically classified in an order from a higher level to a lowerlevel included in the higher level.
 14. The device of claim 8, furthercomprising a user interface for outputting a screen according to anexecution of the supportable target service based on the D2D directcommunication.
 15. A machine-readable storage medium comprising aplurality of instructions, the plurality of instructions configured to,when executed by a processor, cause the processor to: receive abroadcasting signal, the broadcasting signal containing versioninformation of a service category table for detecting a supportabletarget service based on Device to Device (D2D) direct communication froma second devices located adjacent to the first device; analyze theversion information of the service category table contained in thebroadcasting signal and a provision intention of the service categorytable; determine a counterpart device having a service category table ofa higher version than that of the first device from the second deviceshaving the provision intention of the service category table; establisha session connection with the determined counterpart device; and performthe target service with the counterpart device.
 16. The machine-readablestorage medium of claim 15, the plurality of instructions furtherconfigured to cause the processor to: acquire the service category tablefrom the counterpart device when it is determined that there is thecounterpart device.
 17. The machine-readable storage medium of claim 15,the plurality of instructions further configured to cause the processorto: transmit a request for identifying a latest version of the servicecategory table belonging to the first device to an external network; andwhen a response for informing that there is the latest version of theservice category table is received, acquire the service category tableof the latest version from the external network.
 18. Themachine-readable storage medium of claim 15, wherein the broadcastingsignal contains service information including at least one of temporaryidentification information of the second devices, a service name whichis currently being used, version information of the service categorytable, and a provision intention of the service category table.
 19. Themachine-readable storage medium of claim 18, the plurality ofinstructions further configured to cause the processor to: search forthe counterpart device from the second devices using the target servicebased on the service information.
 20. The machine-readable storagemedium of claim 15, wherein the service category table stores servicesthat are supported by the adjacent second devices and classifies theservices according to each service type, wherein the service type ishierarchically classified in an order from a higher level to a lowerlevel included in the higher level.